﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo08
{
    public enum RobotType { 
        //炒菜机器人
        CookRobot,
        //传菜机器人
        DeliveryRobot
    }
    abstract class Robot
    {
        private string name;

        public string Name {
            get { return this.name; }
            set { this.name = value; }
        }

        public RobotType type {
            get { return this.type; }
            set { this.type = value; }
        }

        public Robot(string name, RobotType type) {
            this.name = name;
            this.type = type;
        }

        public abstract void Working();

        static string Robots()
        {
            

        }


    }
}
